package com.chenyue.cm.match.domain;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * VIEW
 * </p>
 *
 * @author Lbx
 * @since 2021-11-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "FormatLiveUser对象", description = "VIEW")
public class FormatLiveUser extends Model<FormatLiveUser> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户名")
    private String userName;

    @ApiModelProperty(value = "头像")
    private String headImg;

    private Integer userId;

    @ApiModelProperty(value = "赛程id")
    private Integer formatId;

    @ApiModelProperty(value = "进行顺序")
    private Integer arrangeOrder;

    @ApiModelProperty(value = "赛事id")
    private Integer matchId;

    @ApiModelProperty(value = "团队id")
    private Integer groupId;

    @ApiModelProperty("团队名称")
    private String groupName;

    @ApiModelProperty("有就代表分配过")
    private Long liveRecordId;

    @TableField(updateStrategy = FieldStrategy.IGNORED, select = false)
    private List<FormatLiveUser> list;

    @ApiModelProperty(value = "支付状态0待支付1已支付")
    private Integer payState;

    @ApiModelProperty(value = "手机号")
    private String mobile;

    @ApiModelProperty(value = "晋级状态 1晋级")
    private Integer promotionState;

    private Integer isLiveUser;

    @ApiModelProperty(value = "打分次数")
    private Long scoreCount;

    @Override
    protected Serializable pkVal() {
        return null;
    }

}
